
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="">
	
		用户名:<input type="text"  onblur="doBlur(this)"> 
		<br>
		密码:<input type="text"  onblur="doBlur(this)">
		<br>
		确认密码:<input type="text"  onblur="doBlur(this)">
		<br>
	</form>
	<script>
		function doBlur(input){
			alert(input.value);
			input.focus();
		}
	</script>
</body>
</html>